
Rem
	Strip whitespace (or other characters) from the beginning and end of a string.
	
	@note		Had to call trim, "btrim" as in "both trim" to trim both sides
			because Trim is a reservered BlitzMax keyword. (well, for the
			most part anyways. Yeah, yeah, not using BRL.Retro could get
			rid of it. But part of this library relies on the general BlitzMax Lib)
	
	@author	Nicholas Grant
	@updatedby	
	
	@param	string	str
	@param	string	charlist = ""
	
	@return	string
EndRem
Function btrim:String( str:String, charlist:String = "" )
	Return ltrim( rtrim( str, charlist ), charlist );
End Function
